package com.aaa.springboot_rbac.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @FileName: Emp
 * @Description:
 * @Author: 张钰哲
 * @CreateTime: 2025/8/27 15:40
 * @Version: 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Emp {
    private Integer empNo;
    private String ename;
    private String job;
    private double salary;
    private String hireDate;
    private Integer managerNo;
    private Integer deptNo;
    // 一个员工只有一个部门   一个部门可以有多个员工   多对一
    private Dept dept;
}
